{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [],
   "source": [
    "import requests\n",
    "from multiprocessing import Process, Queue"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "url = \"http://127.0.0.1:8000\"\n",
    "url_aysn = \"http://127.0.0.1:8000\"\n",
    "userid = \"computer\"\n",
    "wavpath = f\"/home/yangky/dhuman/tts/GPT-SoVITS/data/{userid}.wav\"\n",
    "header = {\n",
    "  \"Authorization\": \"MmE2MWU5NzFlZWUxM2Y1YjQ3YzYzNzRjNjk2MmIyZTM2M2I3M2U3ZQ==\",\n",
    "}"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{\"userid\":\"leijun2\",\"fileid\":\"dfa7103c\",\"size\":173150286}\n",
      "dfa7103c\n"
     ]
    }
   ],
   "source": [
    "# 上传文件 / 获取文件id\n",
    "files = {\n",
    "    'file': open(wavpath, 'rb')\n",
    "}\n",
    "response = requests.post(url+\"/upload\", headers=header, files=files, data={\"userid\":userid})\n",
    "print(response.text)\n",
    "fileid = response.json().get(\"fileid\")\n",
    "print(fileid)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{\"result\":[{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"八寸的小号款式，而且还不是五g平板，不能接打电话直播间，今天给大家安排的都是大号的款式。\",\"filename\":\"dfa7103c_0000001323_0000326781.wav\",\"duration\":7.38},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"十二寸的高清大屏，十核的处理器，十六g运行一千零二。\",\"filename\":\"dfa7103c_0000326781_0000538461.wav\",\"duration\":4.8},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"十四g大内存小号的价格，今天让您带走咱们家这款大号的五g平板。\",\"filename\":\"dfa7103c_0000538461_0000765135.wav\",\"duration\":5.14},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"机会真的很难得，没有付款的家人们一定不要占库存，抓紧时间付款啊，家人们。\",\"filename\":\"dfa7103c_0000765135_0000987840.wav\",\"duration\":5.05},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"它是一个高端智能的五g平板。这台平板呢是我们上个月刚刚升级的新品。\",\"filename\":\"dfa7103c_0000987840_0001225539.wav\",\"duration\":5.39},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"十二寸的高清大屏，十核的处理器，十六g运行，不管你是办公娱乐学习还是玩游戏，都是嗖嗖快不卡顿的。\",\"filename\":\"dfa7103c_0001225539_0001595097.wav\",\"duration\":8.38},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"家人们可以放心大胆的去用来给小不点这个用户直接发一台大号的给韩笑。\",\"filename\":\"dfa7103c_0001595097_0001823976.wav\",\"duration\":5.19},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"备注一台大号的给兰姐直接备注一台大号库存，没有念到名字的小助理都帮我备注好啊。\",\"filename\":\"dfa7103c_0001823976_0002083725.wav\",\"duration\":5.89},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"哥姐们，拼手速和网速大号的库存真的已经不多了。再给您最后五秒钟的时间，咱们马上要准备截单给大家。\",\"filename\":\"dfa7103c_0002083725_0002404332.wav\",\"duration\":7.27},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"bgm\",\"itn\":false,\"content\":\"打包发货去了，错过今天大号的福利价格，后面就真的没有了，明天过来只能够八百九十九去拍了。\",\"filename\":\"dfa7103c_0002404332_0002702448.wav\",\"duration\":6.76},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"明天这个价格也只能带走一台小号的土家族。备注大号安排顺丰发走。\",\"filename\":\"dfa7103c_0002702448_0002998359.wav\",\"duration\":6.71},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"能听懂吧，家人们咱们呢都是现货，现发的差不多呢，三天左右您就可以用上了。\",\"filename\":\"dfa7103c_0002998359_0003238263.wav\",\"duration\":5.44},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"我这边也不等了啊，倒数五个数准备下链接了，没有付款的，哥哥姐姐们抓紧时间了，咱们今天。\",\"filename\":\"dfa7103c_0003238263_0003477726.wav\",\"duration\":5.43},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"是手快有手慢无五秒钟的一个时间去给大家付款，千万不要错过今天这个机会。\",\"filename\":\"dfa7103c_0003477726_0003708369.wav\",\"duration\":5.23},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"如果哥哥姐们带回去发现跟直播间说的不一样，您啥也别说，直接推掉家人们。\",\"filename\":\"dfa7103c_0003708369_0003937689.wav\",\"duration\":5.2},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"今天拍到顶配版的，不但有大礼包，还有一个蓝牙键盘，咱们这款五g平板的蓝牙wifi无线鼠。\",\"filename\":\"dfa7103c_0003937689_0004236246.wav\",\"duration\":6.77},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"不要无线接盘都是可以的啊，里面呢还自带一个学习系统，同步在名师讲堂里面。\",\"filename\":\"dfa7103c_0004236246_0004475709.wav\",\"duration\":5.43},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"不用您花一分钱，再也不用担心，不会解答孩子的问题，而烦恼了，给开心哥直接发一个大好的安排上。\",\"filename\":\"dfa7103c_0004475709_0004756626.wav\",\"duration\":6.37},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"给美好时光直接发一个大号的安排上。给y y这位姐姐直接发一个大号的安排上。\",\"filename\":\"dfa7103c_0004756626_0004959486.wav\",\"duration\":4.6},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"没有念到名字的后台小助理，都帮我一个一个登记好配件，大礼包，也都给哥哥姐姐们带上。\",\"filename\":\"dfa7103c_0004959486_0005198067.wav\",\"duration\":5.41},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"收到的包裹里面呢，有咱们的平板，还有相对应的配件、大礼包、维修卡、质保书以及防伪标识都在里面。\",\"filename\":\"dfa7103c_0005198067_0005531463.wav\",\"duration\":7.56},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"一应俱全的，咱们放心去用右下角的小卡片，已经给大家弹出来了。\",\"filename\":\"dfa7103c_0005531463_0005745789.wav\",\"duration\":4.86},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"全部都给大家发大号顶配款的，今天直接点进去拍就可以了。只要二百九十九的价格。\",\"filename\":\"dfa7103c_0005745789_0006016563.wav\",\"duration\":6.14},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"而且咱们今天都是现货，现发您拿到快递直接就可以用了，给您送货上门啊。\",\"filename\":\"dfa7103c_0006016563_0006257790.wav\",\"duration\":5.47},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"来哥哥姐们，咱们今天大号的五g平板，十二寸的高清大屏十核处理器。\",\"filename\":\"dfa7103c_0006257790_0006511365.wav\",\"duration\":5.75},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"十六g运行一千零二十四g特大内存，随便插两张卡，移动联通电信。\",\"filename\":\"dfa7103c_0006511365_0006789195.wav\",\"duration\":6.3},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"接打电话都是可以的啊，四g五g网络都支持两万毫安的大电池，待机个七八天是没有任何压力的，没有任何问题的。\",\"filename\":\"dfa7103c_0006789195_0007141995.wav\",\"duration\":8.0},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"玩吃鸡王者元神大型游戏不在话下，蓝牙wifi无线，鼠标无线键盘。\",\"filename\":\"dfa7103c_0007141995_0007392483.wav\",\"duration\":5.68},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"办公娱乐做表格，绘图剪辑，还自带一个学习系统，从小学到高中的课程都有，不用您花一分钱。\",\"filename\":\"dfa7103c_0007392483_0007715295.wav\",\"duration\":7.32},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"咱们就不一个一个念名字了啊，后来小助理都帮我一个一个精准都备注好特大号五g平板的库存。\",\"filename\":\"dfa7103c_0007715295_0007994448.wav\",\"duration\":6.33},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"还有配件大礼包，保护套支架啥的，全都给各位哥哥姐们一起带上啊哥姐们。\",\"filename\":\"dfa7103c_0007994448_0008204364.wav\",\"duration\":4.76},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"bgm\",\"itn\":false,\"content\":\"今天准备的特大号五g平板一千零二十四g的，咱们喜欢就直接去拍。\",\"filename\":\"dfa7103c_0008204364_0008461908.wav\",\"duration\":5.84},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"刘大庆，还有工厂，大哥都帮我备注好大号的发走什么时候发货？我们是四十八小时现货先发的。\",\"filename\":\"dfa7103c_0008461908_0008745030.wav\",\"duration\":6.42},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"今天有一趟车，如果说今天没赶上，明天一大早都给大家发出去，我们是顺丰包邮的。\",\"filename\":\"dfa7103c_0008754291_0009009189.wav\",\"duration\":5.78},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"所以哥哥姐不需要担心快递的问题，不会让哥哥姐们在路上久等的来给破浪哥也备注好大号的库存。\",\"filename\":\"dfa7103c_0009009189_0009290547.wav\",\"duration\":6.38},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"还没有付款成功的家人们一定要抓紧时间啊。小黄橙一号链接大号库存已。\",\"filename\":\"dfa7103c_0009290547_0009515898.wav\",\"duration\":5.11},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"已经快发完了，还有最后九单库存，咱们倒计时五秒钟，准备下链接。\",\"filename\":\"dfa7103c_0009515898_0009736398.wav\",\"duration\":5.0},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"二百九十九是咱们大号的一个福利价格，咱们只能放。今天以后您再过来看到就是八百九十九的售价了。\",\"filename\":\"dfa7103c_0009736398_0010063179.wav\",\"duration\":7.41},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"二百九十九呢只能拍到小号，明白了吗？家人们，您今天拍的我们四十八小时。\",\"filename\":\"dfa7103c_0010063179_0010322928.wav\",\"duration\":5.89},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"我就给您发了三天左右，您就可以收到了，好不好？家人们放心大胆的拿。\",\"filename\":\"dfa7103c_0010322928_0010543428.wav\",\"duration\":5.0},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"回家去使用，如果运行速度慢，拍照不清楚，电池不耐用，跟咱们直播间说的不是一回事。\",\"filename\":\"dfa7103c_0010543428_0010824786.wav\",\"duration\":6.38},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"您立刻把它退掉就行。来，咱们倒计时五秒钟，直接下列。\",\"filename\":\"dfa7103c_0010824786_0011014857.wav\",\"duration\":4.31},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"接了还没有付款的哥哥姐们一定要抓紧时间，手快就有手慢无。\",\"filename\":\"dfa7103c_0011047491_0011274606.wav\",\"duration\":5.15},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"后台在等大家五秒钟的付款时间错过了，就真的没有了。\",\"filename\":\"dfa7103c_0011274606_0011467764.wav\",\"duration\":4.38},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"各位大哥，还有姐姐们，咱们这款高端智能五g平板呢是十二寸的高清全面。\",\"filename\":\"dfa7103c_0011475261_0011726190.wav\",\"duration\":5.69},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"防蓝光护眼屏，久看不累眼久看不烧眼。四k的分辨率，大家可以看一下画面多么的清晰。\",\"filename\":\"dfa7103c_0011726190_0012031362.wav\",\"duration\":6.92},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"搭载的是十核处理器，十六g的运行，一千零二十四g大内存运。\",\"filename\":\"dfa7103c_0012031362_0012261123.wav\",\"duration\":5.21},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"行速度快，如闪电吃鸡王者元神不在话下。所以说各位姐们放心用。\",\"filename\":\"dfa7103c_0012261123_0012497940.wav\",\"duration\":5.37},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"来给z a七七大哥直接发一个大号的安排上，给南玉姐姐直接发一个大号的安排上。\",\"filename\":\"dfa7103c_0012497940_0012733875.wav\",\"duration\":5.35},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"两万毫安的大电池正常的用个七八天，是没有任何问题的双卡双待。\",\"filename\":\"dfa7103c_0012733875_0012949083.wav\",\"duration\":4.88},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"全网通四g五g都支持接打电话都是可以的。蓝牙wifi无线鼠标。\",\"filename\":\"dfa7103c_0012949083_0013180167.wav\",\"duration\":5.24},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"无线键盘也都是没有任何问题的。重点是咱们里面自带一个学习系统，从小学到高中。\",\"filename\":\"dfa7103c_0013180167_0013436388.wav\",\"duration\":5.81},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"里面的课程都有同目在咱们名师讲堂里面不用您花一分钱收到货联系平板，客服激活就可以了。给用户幺零零二这位大。\",\"filename\":\"dfa7103c_0013436388_0013785660.wav\",\"duration\":7.92},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"哥直接发一个大号的安排上，没有念到名字的后台小助理，帮我看好公屏，都帮我一个一个登记好库存。\",\"filename\":\"dfa7103c_0013785660_0014064813.wav\",\"duration\":6.33},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"还有咱们的欣欣家人、成风，家人也都帮我备注好大号的安排，顺丰发走送货上门。\",\"filename\":\"dfa7103c_0014064813_0014304276.wav\",\"duration\":5.43},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"咱们收到货呢之后是一个平板，还有咱们的维修卡质保书，原装配件大礼包，包括三c任。\",\"filename\":\"dfa7103c_0014314860_0014597982.wav\",\"duration\":6.42},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"正的一个标识全部都给大家打包，咱们一块发出去的，放心去用。咱们家呢在线下也做了三十多年的工厂了。\",\"filename\":\"dfa7103c_0014597982_0014915943.wav\",\"duration\":7.21},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"是这台平板的源头厂家，所以说支持您去全网比价的哥，我们不是二手机业。\",\"filename\":\"dfa7103c_0014915943_0015169518.wav\",\"duration\":5.75},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"不是翻新机，这是一台全新未拆封未激活的一手新机，搭载的是。\",\"filename\":\"dfa7103c_0015169518_0015414273.wav\",\"duration\":5.55},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"核处理器十六g运行一千零二十四g大内存，十二英寸的高清全面。\",\"filename\":\"dfa7103c_0015414273_0015666084.wav\",\"duration\":5.71},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"屏四k分辨率前置呢是一千六百万的美颜相机，后置三千二百万超高清。\",\"filename\":\"dfa7103c_0015666084_0015943914.wav\",\"duration\":6.3},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"广角拍摄下方小黄车，今天呢给您安排的都是大号的五g平板一号链。\",\"filename\":\"dfa7103c_0015943914_0016162209.wav\",\"duration\":4.95},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"的价格，您真的不需要犹豫了。这个呢是咱们一个加大号顶配旗舰款，五g平板强烈。\",\"filename\":\"dfa7103c_0016162209_0016414461.wav\",\"duration\":5.72},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"推荐给大家家人们直接去拍一号链接，爱打游戏的爱拍照的。\",\"filename\":\"dfa7103c_0016414461_0016627464.wav\",\"duration\":4.83},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"经常出门的不会解答孩子问题的，拼手速来给用户七八三这位大哥。\",\"filename\":\"dfa7103c_0016627464_0016826355.wav\",\"duration\":4.51},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"大号的给融畅哥备注，大号发走给孙心宇姐姐安排大号的发走。\",\"filename\":\"dfa7103c_0016847523_0017064936.wav\",\"duration\":4.93},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"没有念到名字的，没有关系，小助理都帮我精准备注好库存。这个呢是十二寸的高清大屏。\",\"filename\":\"dfa7103c_0017064936_0017337474.wav\",\"duration\":6.18},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"四k的分辨率。大家可以看一下画面多么的清晰，尤其是家里有小孩上网课的老人爱追剧的。\",\"filename\":\"dfa7103c_0017337474_0017633826.wav\",\"duration\":6.72},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"看的时间久了，是不是不舒服？咱们这个屏幕呢采用的是十二英寸的高清，全面防蓝光护眼。\",\"filename\":\"dfa7103c_0017633826_0017907246.wav\",\"duration\":6.2},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"听久看不泪眼，久看不上眼，四g五g都支持接打电话都是可以的啊。\",\"filename\":\"dfa7103c_0017907246_0018160380.wav\",\"duration\":5.74},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"智能分屏软件多开追剧聊天、办公打游戏可以同时进行的，对不对？\",\"filename\":\"dfa7103c_0018160380_0018386613.wav\",\"duration\":5.13},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"您可以放心，先来回家去体验试用，不满意不喜欢。如果出现卡顿点电。\",\"filename\":\"dfa7103c_0018386613_0018607554.wav\",\"duration\":5.01},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"持不耐用，拍照不清晰，马上退给我，好不好？给咱们的峰回路转，也备注大号的安排，顺丰发走。\",\"filename\":\"dfa7103c_0018607554_0018895086.wav\",\"duration\":6.52},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"都是有运险险的啊，七天无理由退换货，一年的，只换不修服务。\",\"filename\":\"dfa7103c_0018895086_0019114704.wav\",\"duration\":4.98},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"运险险都是给大家安排好了的。这台平板的售后服务肯定让您安心抓紧时间，咱们马上要结单了。\",\"filename\":\"dfa7103c_0019114704_0019403559.wav\",\"duration\":6.55},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"十秒内能够付款成功的家人们，今天咱们发的都是大号。十秒钟之后呢，咱们就。\",\"filename\":\"dfa7103c_0019403559_0019629792.wav\",\"duration\":5.13},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"只能够给您发小号的了，库存确实有限啊，您可以先放心的带回家去试用上九十。\",\"filename\":\"dfa7103c_0019629792_0019847646.wav\",\"duration\":4.94},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"天如果不满意，直接退给我，咱们三年质保一年的，只换不修，都是有的，都给大家安排好了，运险写。\",\"filename\":\"dfa7103c_0019847646_0020133855.wav\",\"duration\":6.49},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"有任何问题，你也甭修了，我直接给您发台。新的过去，咱们家都是正品，有一台假的三倍赔偿。对。\",\"filename\":\"dfa7103c_0020133855_0020422269.wav\",\"duration\":6.54},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"比一下，别人家您就知道了，一般这个价格呢只能带走一百二十八g八寸的小号款式。\",\"filename\":\"dfa7103c_0020422269_0020685987.wav\",\"duration\":5.98},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"而且还不是五g平板，不能接打电话直播间，今天给大家安排的都是大号的款式。\",\"filename\":\"dfa7103c_0020685987_0020930742.wav\",\"duration\":5.55},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"十二寸的高清大屏，十核的处理器，十六g运行一千零二十四g大内存。\",\"filename\":\"dfa7103c_0020930742_0021193137.wav\",\"duration\":5.95},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"小号的价格，今天让您带走咱们家这款大号的五g平板机会，真的很难得。\",\"filename\":\"dfa7103c_0021193137_0021424662.wav\",\"duration\":5.25},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"没有付款的家人们一定不要占库存，抓紧时间付款啊，家人们它是一个高端质。\",\"filename\":\"dfa7103c_0021424662_0021645162.wav\",\"duration\":5.0},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"能的五g平板。这台平板呢是我们上个月刚刚升级的新品，十二寸的高清大屏十核的处理器。\",\"filename\":\"dfa7103c_0021645162_0021952980.wav\",\"duration\":6.98},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"十六g运行，不管你是办公娱乐学习还是玩游戏，都是嗖嗖快不卡顿的。\",\"filename\":\"dfa7103c_0021952980_0022199940.wav\",\"duration\":5.6},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"家人们可以放心大胆的去用来给小不点这个用户直接发一台大号的给韩笑。\",\"filename\":\"dfa7103c_0022199940_0022429260.wav\",\"duration\":5.2},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"备注一台大号的给兰姐直接备注一台大号库存，没有念到名字的小助理都帮我备注好啊。\",\"filename\":\"dfa7103c_0022429260_0022689009.wav\",\"duration\":5.89},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"哥姐们，拼手速和网速大号的库存真的已经不多了。再给您最后五秒钟的时间，咱们马上要准备结单，给大家。\",\"filename\":\"dfa7103c_0022689009_0023010939.wav\",\"duration\":7.3},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"bgm\",\"itn\":false,\"content\":\"打包发货去了，错过今天大号的福利价格，后面就真的没有了，明天过来只能够八百九十九去拍了。\",\"filename\":\"dfa7103c_0023010939_0023307732.wav\",\"duration\":6.73},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"明天这个价格也只能带走一台小号的，给咱们的小小也备注好大号，两个逗号逗号，大哥也备注好大号的。\",\"filename\":\"dfa7103c_0023307732_0023605407.wav\",\"duration\":6.75},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"排顺丰发走土家族备注大号，安排顺丰发走，能听懂吧？家人们咱们呢都是现货，现发的差不多呢，三天左右您就可以用上了。\",\"filename\":\"dfa7103c_0023605407_0023981580.wav\",\"duration\":8.53},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"我这边也不等了啊，倒数五个数准备下链接了，没有付款的，哥哥姐姐们抓紧时间了，咱们今天。\",\"filename\":\"dfa7103c_0023981580_0024221043.wav\",\"duration\":5.43},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"是手快有手慢无五秒钟的一个时间去给大家付款，千万不要错过今天这个机会。\",\"filename\":\"dfa7103c_0024221043_0024451686.wav\",\"duration\":5.23},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"如果哥哥姐们带回去发现跟直播间说的不一样，您啥也别说，直接退掉家人们。\",\"filename\":\"dfa7103c_0024451686_0024681006.wav\",\"duration\":5.2},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"今天拍到顶配版的，不但有大礼包，还有一个蓝牙键盘，咱们这款五g屏。\",\"filename\":\"dfa7103c_0024681006_0024901065.wav\",\"duration\":4.99},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"版的蓝牙wifi无线鼠标、无线接盘都是可以的啊，里面呢还自带一个学习性。\",\"filename\":\"dfa7103c_0024901065_0025140969.wav\",\"duration\":5.44},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"同同步在名师讲堂里面，不用您花一分钱，再也不用担心，不会解答孩子的问题而烦恼了。\",\"filename\":\"dfa7103c_0025140969_0025398072.wav\",\"duration\":5.83},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"给开心哥直接发一个大号的安排上，给美好时光，直接发一个大号的安排上，给y y这位姐姐直接发一个大号的安排上。\",\"filename\":\"dfa7103c_0025398072_0025702803.wav\",\"duration\":6.91},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"没有念到名字的后台小助理，都帮我一个一个登记好配件，大礼包，也都给哥哥姐姐们带上。\",\"filename\":\"dfa7103c_0025702803_0025940943.wav\",\"duration\":5.4},{\"lang\":\"zh\",\"emo\":\"emo_unknown\",\"event\":\"speech\",\"itn\":false,\"content\":\"收到的包裹里面呢，有咱们的平板，还有相对应的配件、大礼包、维修卡、质保书以及防伪标识都在里面。\",\"filename\":\"dfa7103c_0025940943_0026274780.wav\",\"duration\":7.57},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"一应俱全的，咱们放心去用右下角的小卡片，已经给大家弹出来了，全部都给大。\",\"filename\":\"dfa7103c_0026274780_0026520858.wav\",\"duration\":5.58},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"家发大号顶配款的，今天直接点击去拍就可以了，只要二百九十九的价格。\",\"filename\":\"dfa7103c_0026520858_0026755029.wav\",\"duration\":5.31},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"而且咱们今天都是现货，现发您拿到快递直接就可以用了，给您送货上门啊。\",\"filename\":\"dfa7103c_0026755029_0026998461.wav\",\"duration\":5.52},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"来哥哥姐姐们，咱们今天大号的五g平板，十二寸的高清大屏十核处理器。\",\"filename\":\"dfa7103c_0026998461_0027252918.wav\",\"duration\":5.77},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"十六g运行一千零二十四g特大内存，随便插两张卡，移动联通电信。\",\"filename\":\"dfa7103c_0027252918_0027530748.wav\",\"duration\":6.3},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"接打电话都是可以的啊，四g五g网络都支持两万毫安的大电池，待机个七八千是没有任何压力的，没有任何问题的。\",\"filename\":\"dfa7103c_0027530748_0027883107.wav\",\"duration\":7.99},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"玩吃鸡王者元神大型游戏不在话下，蓝牙wifi无线鼠标。\",\"filename\":\"dfa7103c_0027883107_0028095669.wav\",\"duration\":4.82},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"无线键盘办公娱乐做表格绘图剪辑还自带一个学习系统。\",\"filename\":\"dfa7103c_0028095669_0028321020.wav\",\"duration\":5.11},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"从小学到高中的课程都有，不用您花一分钱，咱们就不一个一个念名字了啊，后来小助理都帮我一个一个精准都备注好。\",\"filename\":\"dfa7103c_0028321020_0028648683.wav\",\"duration\":7.43},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"特大号五g平板的库存，还有配件大礼包，保护套支架啥的，全都给各位各。\",\"filename\":\"dfa7103c_0028648683_0028871829.wav\",\"duration\":5.06},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"bgm\",\"itn\":false,\"content\":\"哥姐们，今天准备的特大号五g平板，一千零二十四g的，咱们喜欢就。\",\"filename\":\"dfa7103c_0028966644_0029238300.wav\",\"duration\":6.16},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"直接去拍刘大庆，还有工厂，大哥都帮我备注好大号的发走。什么时候发货？我们是四十八小时现货现发的。\",\"filename\":\"dfa7103c_0029238300_0029558025.wav\",\"duration\":7.25},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"今天有一趟车，如果说今天没赶上，明天一大早都给大家发出去，我们是顺丰包邮的。\",\"filename\":\"dfa7103c_0029566845_0029822184.wav\",\"duration\":5.79},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"所以哥哥姐不需要担心快递的问题，不会让哥哥姐们在路上久等的来给破浪哥也备注好大号的库存。\",\"filename\":\"dfa7103c_0029822184_0030106629.wav\",\"duration\":6.45},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"还没有付款成功的家人们一定要抓紧时间啊，小黄车一号链接，大号库存已。\",\"filename\":\"dfa7103c_0030106629_0030333744.wav\",\"duration\":5.15},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"已经快发完了，还有最后九单库存，咱们倒计时五秒钟，准备下链接。\",\"filename\":\"dfa7103c_0030333744_0030554244.wav\",\"duration\":5.0},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"二百九十九是咱们大号的一个福利价格，咱们只能放。今天以后您再过来看到就是八百九十九的售价了。\",\"filename\":\"dfa7103c_0030554244_0030872205.wav\",\"duration\":7.21},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"二百九十九呢只能拍到小号，明白了吗？家人们，您今天拍的我们。\",\"filename\":\"dfa7103c_0030872205_0031088295.wav\",\"duration\":4.9},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"四十八小时现货就给您发了三天左右，您就可以收到了，好不好？家人们放心，大胆的拿回家。\",\"filename\":\"dfa7103c_0031088295_0031374063.wav\",\"duration\":6.48},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"去使用，如果运行速度慢，拍照不清楚，电池不耐用，跟咱们直播间说的不是一回事。\",\"filename\":\"dfa7103c_0031374063_0031643073.wav\",\"duration\":6.1},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"您立刻把它退掉就行。来，咱们倒计时五秒钟，直接下链接了，还没有付款的哥哥姐姐们。\",\"filename\":\"dfa7103c_0031643073_0031917816.wav\",\"duration\":6.23},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"一定要抓紧时间，手快就有手慢无后台在等大家五秒钟的付款时间。\",\"filename\":\"dfa7103c_0031917816_0032141844.wav\",\"duration\":5.08},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"错过了就真的没有啦。各位大哥，还有姐姐们，咱们这款高端智能五g平板。\",\"filename\":\"dfa7103c_0032148459_0032416587.wav\",\"duration\":6.08},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"那是十二寸的高清，全面防蓝光护眼屏，久看不泪眼，久看不烧眼。\",\"filename\":\"dfa7103c_0032416587_0032642379.wav\",\"duration\":5.12},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"四k的分辨率。大家可以看一下画面多么的清晰，搭载的是十核处理器。\",\"filename\":\"dfa7103c_0032642379_0032875668.wav\",\"duration\":5.29},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"十六g的运行，一千零二十四g大内存运行速度快，如闪电。\",\"filename\":\"dfa7103c_0032875668_0033093081.wav\",\"duration\":4.93},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"吃鸡王者元神不在话下，所以说哥哥姐姐们放心用来给z a七七大哥直接发一个大号的安排上。\",\"filename\":\"dfa7103c_0033093081_0033393402.wav\",\"duration\":6.81},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"给南玉姐姐直接发一个大号的安排，上两万毫安的大电池，正常的用个七八天是没有任何问题的。\",\"filename\":\"dfa7103c_0033393402_0033666381.wav\",\"duration\":6.19},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"双卡双待全网通四g五g都支持，接打电话都是可以的。\",\"filename\":\"dfa7103c_0033666381_0033871446.wav\",\"duration\":4.65},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"呀wifi无线鼠标、无线键盘也都是没有任何问题的。重点是咱们里面自带一个学习。\",\"filename\":\"dfa7103c_0033890850_0034127667.wav\",\"duration\":5.37},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"从小学到高中里面的课程都有同目在咱们名师讲堂里面，不用您花一分。\",\"filename\":\"dfa7103c_0034127667_0034375950.wav\",\"duration\":5.63},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"收到货联系平板，客服激活就可以了。给用户幺零零二这位大哥直接发一个大号的。\",\"filename\":\"dfa7103c_0034375950_0034611885.wav\",\"duration\":5.35},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"排上没有念到名字的后台小助理，帮我看好公屏，都帮我一个一个登记好库存。\",\"filename\":\"dfa7103c_0034611885_0034832826.wav\",\"duration\":5.01},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"还有咱们的欣欣家人、成风，家人也都帮我备注好大号的安排，顺丰发走送货上门。\",\"filename\":\"dfa7103c_0034832826_0035072730.wav\",\"duration\":5.44},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"咱们收到货呢之后是一个平板，还有咱们的维修卡质保书，原装配件大礼包，包括三c任。\",\"filename\":\"dfa7103c_0035082873_0035365995.wav\",\"duration\":6.42},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"正的一个标识全部都给大家打包，咱们一块发出去的，放心去用。咱们家呢在线下也做了三十多年的工厂了。\",\"filename\":\"dfa7103c_0035365995_0035683956.wav\",\"duration\":7.21},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"是这台平板的源头厂家，所以说支持您去全网比价的哥，我们不是二手机也。\",\"filename\":\"dfa7103c_0035683956_0035937531.wav\",\"duration\":5.75},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"不是发新机，这是一台全新未拆封、未激活的一手新机，搭载的是十核处理器。\",\"filename\":\"dfa7103c_0035937531_0036221976.wav\",\"duration\":6.45},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"十六g运行一千零二十四g大内存，十二英寸的高清全面屏。\",\"filename\":\"dfa7103c_0036221976_0036454383.wav\",\"duration\":5.27},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"四k分辨率前置呢是一千六百万的美颜相机，后置三千二百万超高清。\",\"filename\":\"dfa7103c_0036454383_0036711927.wav\",\"duration\":5.84},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"广角拍摄下方小黄车，今天呢给您安排的都是大号的五g平板一号链。\",\"filename\":\"dfa7103c_0036711927_0036929340.wav\",\"duration\":4.93},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"接的价格您真的不需要犹豫了。这个呢是咱们一个加大号顶配旗舰款，五g平板强烈。\",\"filename\":\"dfa7103c_0036929340_0037182033.wav\",\"duration\":5.73},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"推荐给大家家人们直接去拍一号链接，爱打游戏的爱拍照的，经常出门的不会解答孩子问题的拼手速。\",\"filename\":\"dfa7103c_0037182033_0037524690.wav\",\"duration\":7.77},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"来给用户七八三，这位大哥备注一台大号的给融唱哥备注大号发走给孙心云。\",\"filename\":\"dfa7103c_0037524690_0037763271.wav\",\"duration\":5.41},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"姐姐安排大号的发走，没有念到名字的没有关系，小助理都帮我精准备注好库存。\",\"filename\":\"dfa7103c_0037763271_0038004498.wav\",\"duration\":5.47},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"这个呢是十二寸的高清大屏四k的分辨率。大家可以看一下画面多么的清晰。\",\"filename\":\"dfa7103c_0038004498_0038277477.wav\",\"duration\":6.19},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"bgm\",\"itn\":false,\"content\":\"尤其是家里有小孩上网课的老人，爱追剧的，看的时间久了，是不是不舒服？咱们这个屏幕呢？\",\"filename\":\"dfa7103c_0038277477_0038543841.wav\",\"duration\":6.04},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"十二英寸的高清，全面防蓝光护眼屏，久看不累，眼久看不上眼。\",\"filename\":\"dfa7103c_0038564568_0038779776.wav\",\"duration\":4.88},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"bgm\",\"itn\":false,\"content\":\"四g五g都支持接打电话都是可以的啊。智能分屏软件多开追剧聊天、办公、打游戏。\",\"filename\":\"dfa7103c_0038779776_0039081420.wav\",\"duration\":6.84},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"可以同时进行的，对不对？您可以放心，先来回家去体验试用，不满意不喜欢。\",\"filename\":\"dfa7103c_0039081420_0039300597.wav\",\"duration\":4.97},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"如果出现卡顿点电池不耐用，拍照不清晰，马上退给我，好不好？给咱们的峰回路转，也备注大号的安排，顺丰发走。\",\"filename\":\"dfa7103c_0039300597_0039663099.wav\",\"duration\":8.22},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"都是有运险险的，七天无理由退换货，一年的，只换不修服务，运险险都是给大家安排好了的。\",\"filename\":\"dfa7103c_0039663099_0039962979.wav\",\"duration\":6.8},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"这台平板的售后服务肯定让您安心抓紧时间，咱们马上要截单了，十秒内能。\",\"filename\":\"dfa7103c_0039962979_0040190976.wav\",\"duration\":5.17},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"够付款成功的家人们，今天咱们发的都是大号，十秒钟之后呢，咱们就只能够给您发小号的了。库存确实有限啊，您可以先放心的带回。\",\"filename\":\"dfa7103c_0040190976_0040552596.wav\",\"duration\":8.2},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"家去试用上九十天，如果不满意，直接退给我，咱们三年质保一年的，只换不修都是有的。\",\"filename\":\"dfa7103c_0040552596_0040815873.wav\",\"duration\":5.97},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"都给大家安排好了预写写有任何问题，你也甭修了，我直接给您发台新的过去。\",\"filename\":\"dfa7103c_0040815873_0041036814.wav\",\"duration\":5.01},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"咱们家都是正品，有一台假的三倍赔偿对比一下，别人家您就知道了，一般这个价格呢？\",\"filename\":\"dfa7103c_0041036814_0041292594.wav\",\"duration\":5.8},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"只能带走一百二十八g八寸的小号款式，而且还不是五g平板，不能接打电话直播间，今天给大家安排的都是大号的款式。\",\"filename\":\"dfa7103c_0041292594_0041681997.wav\",\"duration\":8.83},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"十二寸的高清大屏，十核的处理器，十六g运行一千零二十四。\",\"filename\":\"dfa7103c_0041681997_0041908671.wav\",\"duration\":5.14},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"最大内存小号的价格，今天让您带走咱们家这款大号的五g平板机会，真的很难得。\",\"filename\":\"dfa7103c_0041908671_0042175476.wav\",\"duration\":6.05},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"没有付款的家人们一定不要占库存，抓紧时间付款啊，家人们它是一个高端智能的五g平板。\",\"filename\":\"dfa7103c_0042175476_0042449778.wav\",\"duration\":6.22},{\"lang\":\"zh\",\"emo\":\"neutral\",\"event\":\"speech\",\"itn\":false,\"content\":\"这台平板呢是我们上个月刚刚升级的新品，十二寸的高清大屏十核的处理器。\",\"filename\":\"dfa7103c_0042449778_0042703794.wav\",\"duration\":5.76},{\"lang\":\"zh\",\"emo\":\"angry\",\"event\":\"speech\",\"itn\":false,\"content\":\"十六g运行，不管你是办公娱乐学习还是玩游戏，都是嗖嗖快不卡顿的。\",\"filename\":\"dfa7103c_0042703794_0042950754.wav\",\"duration\":5.6},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"家人们可以放心大胆的去用来给小不点。这个用户直接发一台大号的给韩少爷。\",\"filename\":\"dfa7103c_0042950754_0043180074.wav\",\"duration\":5.2},{\"lang\":\"zh\",\"emo\":\"happy\",\"event\":\"speech\",\"itn\":false,\"content\":\"备注一台大号的给兰姐直接备注一台。\",\"filename\":\"dfa7103c_0043180074_0043287237.wav\",\"duration\":2.43}]}\n"
     ]
    }
   ],
   "source": [
    "# 提供userid / 文件id -> Asr得到asr结果\n",
    "resp = requests.post(url+\"/preprocess\", json={\"fileid\":fileid, \"userid\":userid})\n",
    "print(resp.text)\n",
    "asr_res = resp.json().get(\"result\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{\"isSuccess\":true,\"reason\":\"success\"}\n"
     ]
    }
   ],
   "source": [
    "# 声音克隆\n",
    "resp = requests.post(url+\"/finetune\", json={\"userid\": userid})\n",
    "print(resp.text)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{\"isSuccess\":true,\"start\":\"2024-12-02 16:03:09\",\"end\":\"2024-12-02 16:04:21\",\"duration\":72.0478298664093,\"filepath\":\"/home/yangky/dhuman/tts/GPT-SoVITS/logs/leijun2/outputfiles/1733126661324296307.wav\"}\n"
     ]
    }
   ],
   "source": [
    "# TTS\n",
    "# target_text = \"家人们你们听说过明源花园吗？简直贼棒明源花园，1500亩的天然果岭+天然湖水湖，环境直接就是大自然的馈赠！而且它还靠近云东海旅游度假区，轻松享受慢生活。\\\n",
    "#   加上低密度的假居所，人均占地510㎡。绝对舒适的十年成熟大盘，一站式吃喝玩乐休闲，全新约144㎡精装联排的升级产品，一起来看看吧！总价178万起就能圆别墅梦，赶紧点赞评论！\"\n",
    "target_text = \"真正拉开主播差距的真的是话术吗。话术框架只是我们作为主播最基础的技能，真正能够拉开我们主播差距的一定是你的语言，穿透力和镜头感染力。大学四年播音主持出身的，我给大家来分享一下这个提高语言穿透力和镜头感染力的速成大法，你只需要每天两个步骤练，一个星期，你一定会回来。感谢我\"\n",
    "target_language = \"all_zh\"\n",
    "target = {\n",
    "\"text\": target_text, # 目标文本\n",
    "\"lang\": \"zh\", # 语言\n",
    "\"cutter\": \"sentence4\", # 分句方式\n",
    "# \"cutter\": \"zh_period\", # 分句方式\n",
    "}\n",
    "# 参考声音【可不提供】\n",
    "resp = requests.post(url+\"/tts\", json={\"target\": target, \"userid\":userid}) \n",
    "print(resp.text)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [],
   "source": [
    "TEST_REFER_WAV = False\n",
    "if TEST_REFER_WAV:\n",
    "    # 提供参考语气\n",
    "    # wavpath = \"demo.wav\" # 要求该参考语气音频尽可能减短清晰（5秒以内）\n",
    "    wavpath = \"/home/yangky/dhuman/tts/GPT-SoVITS/logs/leijun2/wavfiles/84783085/84783085_0000000000_0000283563.wav\"\n",
    "    files = {\n",
    "        'file': open(wavpath, 'rb')\n",
    "    }\n",
    "    response = requests.post(url+\"/upload\", headers=header, files=files, data={\"userid\":userid})\n",
    "    print(response.text)\n",
    "\n",
    "    fileid = response.json().get(\"fileid\")\n",
    "    print(fileid)\n",
    "\n",
    "    reference = {\n",
    "    \"lang\": \"zh\",\n",
    "    \"fileid\": fileid,\n",
    "    }\n",
    "    resp = requests.post(url+\"/tts\", json={\"target\": target, \"userid\":userid, \"reference\": reference})\n",
    "    print(resp.text)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{\"userid\":\"wfeng\",\"fileid\":\"8597a6f4\",\"size\":6906616}\n",
      "8597a6f4\n",
      "{\"isSuccess\":true,\"start\":\"2024-12-02 16:04:21\",\"end\":\"2024-12-02 16:05:10\",\"duration\":49.34278988838196,\"filepath\":\"/home/yangky/dhuman/tts/GPT-SoVITS/logs/leijun2/outputfiles/1733126710954396587.wav\"}\n"
     ]
    }
   ],
   "source": [
    "import glob, random\n",
    "TEST_VOICE_TRANSFER = True\n",
    "if TEST_VOICE_TRANSFER:\n",
    "  target_user = \"wfeng\"\n",
    "  wavpath = random.choice(glob.glob(f\"/home/yangky/dhuman/tts/GPT-SoVITS/logs/{target_user}/wavfiles/*.wav\"))\n",
    "  files = {\n",
    "      'file': open(wavpath, 'rb')\n",
    "  }\n",
    "  response = requests.post(url+\"/upload\", headers=header, files=files, data={\"userid\":target_user})\n",
    "  print(response.text)\n",
    "  fileid = response.json().get(\"fileid\")\n",
    "  print(fileid)\n",
    "  reference = {\n",
    "  \"lang\": \"zh\",\n",
    "  \"voice\": {\n",
    "      \"userid\": target_user,\n",
    "      \"fileid\": fileid,\n",
    "    }\n",
    "  }\n",
    "  resp = requests.post(url+\"/tts\", json={\"target\": target, \"userid\":userid, \"reference\": reference})\n",
    "  print(resp.text)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "import IPython.display as ipd, soundfile as sf, io\n",
    "import json, time, base64\n",
    "TEST_STREAM = True\n",
    "if TEST_STREAM:\n",
    "  # 建立单个实例\n",
    "  resp = requests.post(url+\"/attach\", json={\"user_id\":userid})\n",
    "  print(f\"{resp.text} at {time.time()}\")\n",
    "  client_id = resp.json().get(\"client_id\")\n",
    "  # 获取流式接口\n",
    "  resp_stream = requests.post(url+\"/stream\", json={\"client_id\":client_id, \"target\": target}, stream=True)\n",
    "  if resp_stream.status_code == 200:\n",
    "    # 逐行读取流数据\n",
    "    print(f\"start get stream at {time.time()}\")\n",
    "    for line in resp_stream.iter_lines():\n",
    "      if line:\n",
    "        data = json.loads(line) # Base64\n",
    "        with io.BytesIO(base64.b64decode(data[\"data\"])) as f:\n",
    "          audio, sr = sf.read(f)\n",
    "        display(ipd.Audio(audio, rate=data[\"sr\"]))\n",
    "      print(f\"{data['isFinished']} at {time.time()}\")\n",
    "  # 关闭实例\n",
    "  resp = requests.post(url+\"/detach\", json={\"client_id\":client_id})\n",
    "  print(resp.text)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "GPTSoVits",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.19"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
